package org.template.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.template.service.Hello;
import org.template.web.base.BaseController;

@Controller
@RequestMapping("/fc")
public class FirstController extends BaseController {

	@Autowired
	private Hello hello;
	
	@RequestMapping("/index")
	public String index(){
		log.info(hello.getLesson());
		return "hello";
		
	}
	
	
}
